home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Advisor 2007 June
/
PC Advisor 2007 June.iso
/
GTours
/
Moon Eclipse.gt5
< prev
next >
Wrap
Text File
|
2003-08-15
|
4KB
|
159 lines
Set wnd = OpenWorkspace("mz_1.ws5")
Set Camera = wnd.camera
Set theTime = camera.time
Set Direction = camera.Direction
Set Location = camera.Location
'---- end standard prologue'
'wnd.MDIWindow.State = SW_MAXIMIZE
set flt =wnd.Filters
set objects = flt.objects
set sky = flt.skyChart
set ecliptic = sky.Guides.Ecliptic
theTime.Units = 1
theTime.step = 0.50000000000000E+000
set pl =PlayerWindow
'pl.top=450
'pl.left=600
pl.top=Screen.height-150
pl.left=Screen.width-200
set txt = CreateTextWindow
'txt.Locate 0,450,450,115
txt.Locate 0,Screen.height-145,450,115
txt.SetCaption " "
txt.Loadfile "mz_w4.html"
Set obj = Location.CentralObject
set obj01=Direction.Object
txt.Show
settimemark
set moons = flt.objects.moons
set planets = flt.objects.planets
moons.Magnification(301)=50 : UpdateWindows
pause 1000
moons.Magnification(301)=100 : UpdateWindows
pause 1000
moons.Magnification(301)=75 : UpdateWindows
pause 1000
moons.Magnification(301)=50 : UpdateWindows
pause 1000
theTime.JDstr = "2452952.41667"
pause 1000
moons.Magnification(301)=75 : UpdateWindows
pause 1000
moons.Magnification(301)=100 : UpdateWindows
pause 1000
moons.Magnification(301)=75 : UpdateWindows
pause 1000
moons.Magnification(301)=50 : UpdateWindows
pause 1000
theTime.JDstr = "2452938.50000"
moons.Magnification(301)=25 : UpdateWindows
Planets.Magnification(3)=10 : UpdateWindows
Direction.Zoom = 0.5000000000000E+000 : UpdateWindows
Direction.Zoom = 1.0000000000000E+000 : UpdateWindows
Direction.Zoom = 2.0000000000000E+000 : UpdateWindows
Direction.Zoom = 3.0000000000000E+000 : UpdateWindows
Direction.Zoom = 6.0000000000000E+000 : UpdateWindows
theTime.Forward
WaitFrames 27
theTime.Stop
waitfortime 14000
txt.Locate 0,Screen.height-135,450,100
txt.Loadfile "mz_w1.html"
theTime.Units = 3
theTime.step = 3.00000000000000E+000
theTime.Forward
WaitFrames 105
theTime.Stop
pause 1000
Planets.Magnification(10)=1
moons.orbit(301) = False
moons.Label(301) = False
moons.Magnification(301)=1
Planets.Magnification(3)=1 : UpdateWindows
if GetWindowCount() <=1 then: newWindow: end if
TileWindows 1
Set wnd2 = getWindow(2)
Set Camera2 = wnd2.camera
Set theTime2 = camera2.time
Set Direction2 = camera2.Direction
Set Location2 = camera2.Location
'---- end standard prologue'
Direction2.Zoom = 1.000000000000E+000
obj01.objectType = &H6D6F6F6E
obj01.objectID = 301
Direction.Object=obj01
Direction.lock = 1
Direction.Zoom = 1.20000000000000E+001
set flt2 =wnd2.Filters
set sky2 = flt2.skyChart
sky2.QuickInfo=False
set ecliptic2 = sky2.Guides.Ecliptic
ecliptic.Checked = false
ecliptic2.Checked = false
flt2.objects.planets.Label(3) = False
flt2.wnd.state = 0
Location2.wnd.state = 0
flt2.objects.planets.Label(10) = False
flt2.objects.planets.Label(3) = False
flt2.objects.planets.Magnification(10)=1 : UpdateWindows
flt2.objects.planets.Magnification(3)=1 : UpdateWindows
theTime.Units = 3
theTime.step = 4.0000000000000E-000
theTime.TimeZone = 3.00000000000000E+000
theTime.mode = 1
theTime.JDstr = "2452952.41667"
theTime2.Units = 3
theTime2.step = 4.0000000000000E-000
theTime2.TimeZone = 3.00000000000000E+000
theTime2.mode = 1
theTime2.JDstr = "2452952.41667"
Set obj2 = Location2.CentralObject
obj2.ObjectType=&H6D6F6F6E
obj2.ObjectID = 301
Location2.CentralObject=obj2
Location2.SetLocParams 0, 2, 2
Location.SetLocParams 0, 2, 2
pause 2000
Location.SetLonlat 2.34165013524151E-001 , 9.16879624837124E-001
set obj3=Direction2.Object
obj3.objectType = &H706C6E74
obj3.objectID = 3
Direction2.Object=obj3
Direction2.lock = 1
Direction2.Zoom = 7.0000000000000E+000
sky.TrueSkyColor = true : UpdateWindows
waitfortime 8000
txt.Loadfile "mz_w2.html"
txt.Locate 0,Screen.height-140,450,115
' pause 9000
theTime.Forward
theTime2.Forward
WaitFrames 110
theTime.Stop
theTime2.Stop
waitfortime 10000
set txt1 = CreateTextWindow
txt1.Loadfile "mz_w3.html"
txt1.SetCaption " "
'txt1.Locate 370,30,450,100
txt1.Locate Screen.width/2-10,0,450,100
txt1.Show
theTime.Forward
theTime2.Forward
WaitFrames 110
theTime.Stop
theTime2.Stop
waitfortime 8000
txt.Close
txt1.Close
' end recording